<table class="table table-striped ddd-table">
    <thead>
	    <tr>
	    	<th>创建时间</th>
	        <th>角色名</th>
	        <th>角色描述</th>
	        <th>操作</th>
	    </tr>
	</thead>
	<tbody>
		<col width="25%"></col>
		<col width="25%"></col>
		<col width="25%"></col>
		<col width="25%"></col>
		{{if isEmpty(data) || isEmpty(data.records)}}
				<tr><td colspan="4" valign="middle">无数据</td></tr>
		{{else}}
			{{each data.records as data index}}
				<tr>
					<td>{{dateFormat(data.addTime,'yyyy-MM-dd hh:mm:ss')}}</td>
					<td>{{data.ro_name}}</td>
					<td>{{data.ro_remark}}</td>
					<td>
						<button class="btn btn-primary sf-edit-btn" data-id="{{data.id}}">编辑</button>
                        <button class="btn btn-default sf-del-btn" data-id="{{data.id}}" data-name="{{data.ro_name}}">删除</button>
					</td>
				</tr>
			{{/each}}
		{{/if}}
	</tbody>
</table>